package com.daxidi.cn.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@ApiModel("根据商店查员工信息")
@Data
public class ShopClerkVo {

    @ApiModelProperty("店员ID")
    private Long id;

    @ApiModelProperty("商铺名称")
    private String shopName;

    @ApiModelProperty("店员姓名")
    private String name;

    @ApiModelProperty("手机号码")
    private String moblie;

    @ApiModelProperty("店员类型")
    private Integer role;

    @ApiModelProperty("编辑时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;
}
